package com.xinjian.jianba.dao.dwmid;

import java.util.List;
import java.util.Map;

import com.xinjian.jianba.dto.GroupIdDto;
import com.xinjian.jianba.dto.QuitGroupDto;
import com.xinjian.jianba.enity.RyGroupInfoEntity;

public interface RyGroupInfoDao {
    int deleteByPrimaryKey(Long id);

    int insert(RyGroupInfoEntity record);

    int insertSelective(RyGroupInfoEntity record);

    RyGroupInfoEntity selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(RyGroupInfoEntity record);

    int updateByPrimaryKey(RyGroupInfoEntity record);
    
    int insertByBatch(List<RyGroupInfoEntity> list);
    
    List<RyGroupInfoEntity> selectPageByGroupId(GroupIdDto groupIdDto);
    
    int quitGroupMembers(QuitGroupDto quitGroupDto);

	Map<String, String> selectGroupCounts(String groupId);
    
}